<template>
  <div class="home-swiper">
    <van-swipe :autoplay="3000" indicator-color="white" >
      <van-swipe-item v-for="item in banners" 
      :key="item.acm">
        <a :href="item.link">
          <img :src="item.image" style="width:100%;height:150px">
        </a> 
      </van-swipe-item>
    </van-swipe>
  </div>
</template>
<script>
export default {
  name:'HomeSwiper',
  props:{
    banners:{
      type:Array,
      default(){
        return [];
      }
    }
  }
}
</script>
<style scoped>

</style>